<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"	
	xmlns:rich="http://richfaces.org/rich"
	xmlns:p="http://primefaces.org/ui"
	xmlns:a4j="http://richfaces.org/a4j">
		
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</h:head>
<h:body>
<ui:composition template="template.xhtml">

	<ui:define name="title">mehmet emmy</ui:define>
	<ui:define name="body">
	
	<h:form id="detayForm" acceptcharset="UTF-8">
			<h:panelGrid columns="2">
				<h:outputLabel value="tckimlik" for="tckimlik" />
				<h:inputText  id="tckimlik" 
					value="#{adresBean.currentAdres.tckimlik}" readonly="true"/>
					
				<h:outputLabel value="il" for="il" />
				<h:inputText id="il"
					value="#{adresBean.currentAdres.il }" />
					
				<h:outputLabel value="ilce" for="ilce" />
				<h:inputText id="ilce"
					value="#{adresBean.currentAdres.ilce }" />
					
				<h:outputLabel value="mahalle" for="mahalle" />
				<h:inputText id="mahalle" 
					value="#{adresBean.currentAdres.mahalle }" />		
				<h:panelGroup />				
				<h:panelGroup>				
					<h:commandButton value="Enregister" action="#{adresBean.SaveOrUpdate }" style="width:65px"/>&nbsp;
					<h:commandButton value="Return" action="index" immediate="true" style="width:65px"/>	&nbsp;
					<h:commandButton value="Delete" action="#{adresBean.deleteView }" style="width:65px"/>			
				</h:panelGroup>					
			</h:panelGrid>
		</h:form>
	</ui:define>	
</ui:composition>
</h:body>
</html>